package com.ruoyi.medicine.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品库存对象 doc_stocks
 * 
 * @author ruoyi
 * @date 2025-08-14
 */
public class DocStocks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 药品Id */
    private Long drugId;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String drugName;

    /** 药品描述 */
    @Excel(name = "药品描述")
    private String drugInfo;

    /** 药品库存 */
    @Excel(name = "药品库存")
    private Long drugInventory;

    /** 药品类型 */
    @Excel(name = "药品类型")
    private String drugType;

    /** 药品状态 */
    @Excel(name = "药品状态")
    private String drugState;

    /** 预警阈值 */
    @Excel(name = "药品预警数")
    private Integer lowStockThreshold;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getLowStockThreshold() {
        return lowStockThreshold;
    }

    public void setLowStockThreshold(Integer lowStockThreshold) {
        this.lowStockThreshold = lowStockThreshold;
    }

    public void setDrugId(Long drugId)
    {
        this.drugId = drugId;
    }

    public Long getDrugId() 
    {
        return drugId;
    }

    public void setDrugName(String drugName) 
    {
        this.drugName = drugName;
    }

    public String getDrugName() 
    {
        return drugName;
    }

    public void setDrugInfo(String drugInfo) 
    {
        this.drugInfo = drugInfo;
    }

    public String getDrugInfo() 
    {
        return drugInfo;
    }

    public void setDrugInventory(Long drugInventory) 
    {
        this.drugInventory = drugInventory;
    }

    public Long getDrugInventory() 
    {
        return drugInventory;
    }

    public void setDrugType(String drugType) 
    {
        this.drugType = drugType;
    }

    public String getDrugType() 
    {
        return drugType;
    }

    public void setDrugState(String drugState) 
    {
        this.drugState = drugState;
    }

    public String getDrugState() 
    {
        return drugState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drugId", getDrugId())
            .append("drugName", getDrugName())
            .append("drugInfo", getDrugInfo())
            .append("drugInventory", getDrugInventory())
            .append("drugType", getDrugType())
            .append("drugState", getDrugState())
            .toString();
    }
}
